//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02B
TN_Widget.CreateTable([['Sweeney Todd','Central Park Performing Arts Center','Largo, FL','Saturday','5/4/2024','8:00 PM','6252727','Sweeney-Todd-5-4-2024'],['Sweeney Todd','Central Park Performing Arts Center','Largo, FL','Sunday','5/5/2024','2:00 PM','6252728','Sweeney-Todd-5-5-2024'],['Sweeney Todd','Central Park Performing Arts Center','Largo, FL','Thursday','5/9/2024','8:00 PM','6252729','Sweeney-Todd-5-9-2024'],['Sweeney Todd','Central Park Performing Arts Center','Largo, FL','Friday','5/10/2024','8:00 PM','6252730','Sweeney-Todd-5-10-2024'],['Sweeney Todd','Central Park Performing Arts Center','Largo, FL','Saturday','5/11/2024','8:00 PM','6252731','Sweeney-Todd-5-11-2024'],['Sweeney Todd','Central Park Performing Arts Center','Largo, FL','Sunday','5/12/2024','2:00 PM','6252732','Sweeney-Todd-5-12-2024'],['Colin Quinn','Largo at the Coronet','Los Angeles, CA','Sunday','5/12/2024','8:00 PM','6277701','Colin-Quinn-5-12-2024'],['Improvised Shakespeare Company','Largo at the Coronet','Los Angeles, CA','Wednesday','5/15/2024','8:00 PM','6369252','Improvised-Shakespeare-Company-5-15-2024'],['Jon Brion','Largo at the Coronet','Los Angeles, CA','Saturday','5/25/2024','8:30 PM','6369249','Jon-Brion-5-25-2024'],['Tig Notaro','Largo at the Coronet','Los Angeles, CA','Sunday','5/26/2024','7:00 PM','6369251','Tig-Notaro-5-26-2024'],['Sarah Silverman','Largo at the Coronet','Los Angeles, CA','Friday','5/31/2024','8:00 PM','6369256','Sarah-Silverman-5-31-2024'],['Nina Conti','Largo at the Coronet','Los Angeles, CA','Monday','6/3/2024','8:00 PM','6369255','Nina-Conti-6-3-2024'],['Natasha Leggero & Riki Lindhome','Largo at the Coronet','Los Angeles, CA','Wednesday','6/19/2024','8:00 PM','6369313','Natasha-Leggero---Riki-Lindhome-6-19-2024'],['The Watkins Family Hour','Largo at the Coronet','Los Angeles, CA','Thursday','6/20/2024','8:30 PM','6369259','The-Watkins-Family-Hour-6-20-2024'],['Sarah Silverman','Largo at the Coronet','Los Angeles, CA','Friday','6/21/2024','8:00 PM','6369257','Sarah-Silverman-6-21-2024'],['Improvised Shakespeare Company','Largo at the Coronet','Los Angeles, CA','Saturday','6/22/2024','7:30 PM','6369253','Improvised-Shakespeare-Company-6-22-2024'],['Patton Oswalt','Largo at the Coronet','Los Angeles, CA','Sunday','6/23/2024','7:30 PM','6369315','Patton-Oswalt-6-23-2024'],['Beth Stelling','Largo at the Coronet','Los Angeles, CA','Monday','6/24/2024','8:00 PM','6369291','Beth-Stelling-6-24-2024'],['Patton Oswalt','Largo at the Coronet','Los Angeles, CA','Sunday','7/21/2024','7:30 PM','6369316','Patton-Oswalt-7-21-2024']],'Largo LA','http://www.ticketnetwork.com/ticket/Largo-LA-events.aspx');